package com.wsc.personalblog;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableKnife4j
@EnableSwagger2
@Slf4j
@EnableTransactionManagement
@MapperScan("com.wsc.personalblog.mapper")
public class PersonalblogApplication {
    public static void main(String[] args) {

        SpringApplication.run(PersonalblogApplication.class, args);
        System.out.println("项目启动成功");

    }

}
